package com.alks.function.mapper.stockdept.pcfactorystockquery;

import com.alks.entity.data.entity.PcDrawReplace2;
import com.alks.function.data.request.stockdept.pcfactorystockwork.MtlSubProcRequest;
import com.alks.function.data.request.stockdept.pcfactorystockwork.MtlSubUpdateRequest;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.mapstruct.Mapper;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author ms
 * @since 2023-09-15
 */
@Mapper
public interface SD_SQ_PcDrawReplace2Mapper extends BaseMapper<PcDrawReplace2> {
    /*材料替换数据更新*/
    void mtlSubUpdate(List<MtlSubUpdateRequest> request);

    /*材料替换处理*/
    void MtlSubProcess(MtlSubProcRequest request);

    /*查询找到的记录数*/
    List<Map<String, Object>> mtlSubQuery(List<MtlSubUpdateRequest> request);

}
